<#if posts?has_content>
<#list posts as p>
<div class="post">
	<h2 class="title"><a href="${blog.getURL(p)}" title="${p.title}">${p.title}</a></h2>
	<div class="entry">
		${p.abstracts!}
	</div>
	<p class="meta">
		发布于 ${p.postTime?string("yyyy-MM-dd HH:mm")}
		&nbsp;&bull;&nbsp;
		<a href="${blog.getURL(p)}#comments" class="comments">评论 (64)</a>
		&nbsp;&bull;&nbsp;
		<#if p.cats?has_content>
			分类 
			<#list p.cats as cat>
				<a href="${blog.getURL(cat)}" class="comments">${cat.name}</a>
			</#list>
		<#else>
			未分类
		</#if>
		&nbsp;&bull;&nbsp;
		<a href="${blog.getURL(p)}" class="permalink">阅读全文</a>
	</p>
</div>
</#list>
<#else>
<div class="post">
	<h2 class="title"><a>无内容!</a></h2>
	<div class="entry">
	</div>
</div>
</#if>